﻿using System;

using WebDavProcessor.Constants;

namespace WebDavProcessor.Resources
{
    public class WebDavResource
    {
        private string resourcePath;
        private int resourceStatus;

        public string Path { get { return resourcePath; } set { resourcePath = value; } }
        public int Status { get { return resourceStatus; } set { resourceStatus = value; } }

        public WebDavResource(string path, int status)
        {
            resourcePath = path;
            resourceStatus = status;
        }
        public WebDavResource(string path)
        {
            resourcePath = path;
            resourceStatus = WebDavStatusCodes.OK;
        }
    }
}
